﻿using System;

namespace Lukianol.Web.Report
{
    public class ReportDataParameter
    {
        public ReportDataParameter(string name, string displayName, string dataType, string value)
        {
            if (name == null) throw new ArgumentNullException("name");
            if (displayName == null) throw new ArgumentNullException("displayName");

            Name = name;
            DisplayName = displayName;
            DataType = dataType;
            Value = value;
        }

        public string Name { get; private set; }
        public string DisplayName { get; private set; }
        public string DataType { get; private set; }
        public string Value { get; set; }
    }
}